home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000250_amarsh@ncpgg.adelaide.edu.au_Fri Aug 29 14:29:36 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
4KB
|
98 lines
Article: 14490 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!petbe.visi.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSH command in C-Kermit - how does it get -l paramater
References: <3f4e97b6$1@yorrell.saard.net> <bimkd6$1jp$1@watsol.cc.columbia.edu>
In-Reply-To: <bimkd6$1jp$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
Message-ID: <3f4ede39@yorrell.saard.net>
X-Original-Trace: 29 Aug 2003 14:31:45 +0950, rudolph.ncpgg.adelaide.edu.au
Lines: 74
Date: Fri, 29 Aug 2003 05:01:47 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062133307 203.21.37.20 (Fri, 29 Aug 2003 15:01:47 EST)
NNTP-Posting-Date: Fri, 29 Aug 2003 15:01:47 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14490
Jeffrey Altman wrote:
> Arthur:
>
> C-Kermit could absolutely do a better job of intergrating with OpenSSH.
> All that needs to be done is for someone to spend the time to write the
> code or donate the money for someone else to be paid to write the code.
>
> Jeffrey Altman
> Former Kermit Developer
Short of modifying the C source, is there a method for delayed
evaluation of the string specified in the "set ssh command" command or
could one use the "set ssh command" command to make C-Kermit execute a
macro in response to SSH at the C-Kermit prompt?
Regards,
Arthur.
>
>
>
> In article <3f4e97b6$1@yorrell.saard.net>,
> Arthur Marsh <amarsh@ncpgg.adelaide.edu.au> wrote:
> : Hi, I want to be able to use the SSH command in C-Kermit (8.0.210
> : Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to
> : connect to a few different remote systems where I have accounts with
> : different usernames.
> :
> : I could do
> :
> : ssh -l differentusername hostname
> :
> : each time
> :
> : but wonder why when I do:
> :
> : set telnet env user differentusername
> :
> : then
> :
> : ssh hostname
> :
> : C-Kermit does:
> :
> : Connecting via command "ssh -e none -l amarsh hostname"
> :
> : I would have thought that the argument to the -l parameter would be the
> : current value of \v(userid), which is set by the set telnet env user
> : command. How does C-Kermit get the value for the -l parameter of the SSH
> : command?
> :
> : Under K95 2.1.4, if I set telnet env differentusername then ssh
> : hostname, I get prompted for differentusername's password as expected.
> :
> : Another oddity under C-Kermit is that if I attempt an SSH login which
> : fails and returns to the C-Kermit prompt, then type Connect, I get:
> :
> : DNS Lookup... Can't get address for ssh -e none -l username host
> :
> : Upon issuing the Connect command in K95, I get the SSH password prompt
> : as expected.
> :
> : I realise that SSH is an external command in C-Kermit and built-in to
> : K95, but think it should be possible for the C-Kermit version to behave
> : more closely like the K95 version in the two cases above.
> :
> : Regards,
> :
> : Arthur.
> :
>
>